<?php

/**
 * 推荐位定义
 */
Route::get('recommend/apppage_rectpls', ['as'=> 'recommend.apppage_rectpls.index', 'uses' => 'Recommend\ApppageRectplController@index']);
Route::post('recommend/apppage_rectpls', ['as'=> 'recommend.apppage_rectpls.store', 'uses' => 'Recommend\ApppageRectplController@store']);
Route::get('recommend/apppage_rectpls/create', ['as'=> 'recommend.apppage_rectpls.create', 'uses' => 'Recommend\ApppageRectplController@create']);
Route::put('recommend/apppage_rectpls/{apppage_rectpls}', ['as'=> 'recommend.apppage_rectpls.update', 'uses' => 'Recommend\ApppageRectplController@update']);
Route::patch('recommend/apppage_rectpls/{apppage_rectpls}', ['as'=> 'recommend.apppage_rectpls.update', 'uses' => 'Recommend\ApppageRectplController@update']);
Route::delete('recommend/apppage_rectpls/{apppage_rectpls}', ['as'=> 'recommend.apppage_rectpls.destroy', 'uses' => 'Recommend\ApppageRectplController@destroy']);
Route::get('recommend/apppage_rectpls/{apppage_rectpls}', ['as'=> 'recommend.apppage_rectpls.show', 'uses' => 'Recommend\ApppageRectplController@show']);
Route::get('recommend/apppage_rectpls/{apppage_rectpls}/edit', ['as'=> 'recommend.apppage_rectpls.edit', 'uses' => 'Recommend\ApppageRectplController@edit']);

// ajax根据类型获取不同模板数据
Route::get('application/apppage_rectpls/datas/{datas}/resources', ['as'=> 'application.collist_datas.resources', 'uses' => 'Recommend\ApppageRectplController@getReasourceData']);

// 推荐模板数据视图
Route::get('application/apppage_rectpls/apppage_rectpls/{apppage_rectpls}/paneltpl/{paneltpl_name}/view',['as'=> 'recommend.apppage_rectpls.paneltpl.view', 'uses' => 'Recommend\ApppageRectplController@paneltplView']);